package com.cskaoyan.wx.service;


import com.cskaoyan.wx.bean.bo.WxCartAddBo;
import com.cskaoyan.wx.bean.bo.WxCartCheckBo;
import com.cskaoyan.wx.bean.bo.WxCartDeleteBo;
import com.cskaoyan.wx.bean.bo.WxCartUpdateBo;
import com.cskaoyan.wx.bean.vo.WxCartCheckoutVo;
import com.cskaoyan.wx.bean.vo.WxCartIndexVo;

import java.util.List;

public interface WxCartService {
    WxCartIndexVo query();

    WxCartIndexVo checked(WxCartCheckBo wxCartCheckBo);

    int update(WxCartUpdateBo wxCartUpdateBo);

    WxCartIndexVo delete(WxCartDeleteBo wxCartDeleteBo);

    WxCartCheckoutVo checkout(Integer cartId, Integer addressId, Integer couponId, Integer grouponRulesId);

    int add(WxCartAddBo wxCartAddBo);

    int goodscount();

    int fastadd(WxCartAddBo wxCartAddBo);
}
